/*
 * StrobeTask.java
 * 
 * last update: 16.01.2010 by Stefan Saru
 * 
 * author:	Alec(panovici@elcom.pub.ro)
 * 
 * Obs:
 */
package engine;
import java.util.*;

@SuppressWarnings("serial")
class StrobeTask extends DisplayTask {

	StrobeTask(NameSpace m, int delayBefore,
			InstructionDescription desc, int defaultBase,
			Vector target, DefaultInstruction next){
		super(m, delayBefore, desc, defaultBase, target, next);
	}

	public void execute()
	throws InterpretTimeException, SimulationStoppedException
	{
		waitToRun();
		DefaultInstruction i = new DisplayTask(this);
		i.next = null;
		Time.addAfterFinish(i);
	}
}
